import nGui.controls.Button;
import nGui.Manager;
import nGui.controls.containers.Dialog;

class ButtonSample
{
	public static function main()
	{
		var bs = new ButtonSample();
	}
	
	public function new()
	{
		var mng : Manager = new Manager();
		
		var button1 : Button = new Button( "Click Me" );
		
		var wind : Dialog = new Dialog( button1 );
		
		wind.title = "Buttons Sample";
		wind.show();
		
		mng.loop();
	}	
}